package com.lantian.teacher.exception;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @name:
 * @description:
 * @author: meet
 * @create: 2020-04-28 00:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("自定义异常")
public class EduException extends RuntimeException{
    @ApiModelProperty(value = "状态码")
    private Integer code;
    @ApiModelProperty(value = "异常信息")
    private String msg;
}